//
// Decompiled by Jadx - 337ms
//
package s;

import android.app.Activity;
import androidx.activity.b;
import androidx.appcompat.app.t;
import fg.p;
import fi.e;
import fi.k;
import fi.w;
import fi.y;
import me.plusne.common.Http.Home;
import r.g;

public final class n {
    public final Activity a;
    public final p b;
    public long c;
    public final w d;

    public n(Activity activity) {
        this.a = activity;
        p pVar = new p(activity);
        this.b = pVar;
        w wVar = new w(activity);
        this.d = wVar;
        wVar.bj(fi.e.LIST_CUSTOM);
        wVar.ab = pVar;
        wVar.bd();
        wVar.bi("奖品列表(0)");
        wVar.bc("只显示未兑换的奖品");
        wVar.bg("加载更多");
        wVar.ap = false;
        wVar.v = new k(21, this);
        wVar.bk();
        e(0L);
    }

    public final void e(long j) {
        Activity activity = this.a;
        if (j < 0) {
            b.r(activity, "没有更多数据了");
            return;
        }
        y.e(activity);
        String o = g.o();
        t.c().j(((Home) dq.b.b(Home.class)).queryPick(o, j).subscribeWith(new a(this, activity)));
    }
}
